Skip to content

Add support for Android #76

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

colemancda
Copy link

Motivation

The current codebase is not buildable on Android since Bionic is not imported to provide the pthread APIs.

Modifications

  • Lock.swift: import Bionic

Result

Successfully compiles for Android.

Tested with Skip Tools: skip android build

Test Plan

Compile for Android with the toolchain of your choosing.

@gjcairo gjcairo added the 🆕 semver/minor Adds new public API. label Jul 14, 2025
@gjcairo
Copy link

gjcairo commented Jul 14, 2025

Asking because I'm not sure what the right path forward is here: we have #70 which aims to also add Android support, but using if os(Android) instead. What do we prefer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆕 semver/minor Adds new public API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants